Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make debug UI search bar more compact, avoid overflow #6091

Merged

Conversation

leonardehrenfried
Copy link
Member

Summary

This PR tidies up the search bar of the debug UI:

  • it makes the input boxes take up less room
  • it combines the Route and GraphiQL into a single button group with an icon instead of the word "GraphiQL"
  • it makes the paging buttons a little smaller and less conspicuous

This also avoids some ugly overflow issues on even medium sized screens.

Before

Screenshot from 2024-09-26 11-23-20

After

Screenshot from 2024-09-26 11-23-22

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.83%. Comparing base (f285066) to head (0be4f9f).
Report is 15 commits behind head on dev-2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6091   +/-   ##
==========================================
  Coverage      69.83%   69.83%           
- Complexity     17456    17457    +1     
==========================================
  Files           1974     1974           
  Lines          74600    74600           
  Branches        7636     7636           
==========================================
+ Hits           52098    52099    +1     
+ Misses         19854    19853    -1     
  Partials        2648     2648           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

client/src/style.css Outdated Show resolved Hide resolved
client/src/components/SearchBar/GraphiQLRouteButton.tsx Outdated Show resolved Hide resolved
client/src/components/SearchBar/GraphiQLRouteButton.tsx Outdated Show resolved Hide resolved
@leonardehrenfried leonardehrenfried merged commit a891ef6 into opentripplanner:dev-2.x Sep 30, 2024
6 checks passed
@leonardehrenfried leonardehrenfried deleted the route-button branch September 30, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OTP Debug UI The OTP bundled client Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants